BEGIN{nc=ARGV[1]; ARGC=1; exit}
END{
  m=nc+1;
  for(i=0;i<=nc;i++){
    for(j=0;j<=nc;j++){
      for(k=0;k<=nc;k++){
	l++;
	print l,"color"l,i/nc,j/nc,k/nc;
      };
    };
  };
# for(k=0;k<=nc;k++){
#   print k,"color"k,rand(),rand(),rand();
# }
}
